package com.itboy.mall.wms.warepurchasedetail.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import com.itboy.common.core.domain.BaseEntity;

/**
 * 采购需求
分页查询对象 mall_ware_purchase_detail
 *
 * @author itboy
 * @date 2021-08-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("采购需求分页查询对象")
public class MallWarePurchaseDetailQueryBo extends BaseEntity {

    /**
     * 分页大小
     */
	@ApiModelProperty("分页大小")
	private Integer pageSize;
    /**
     * 当前页数
     */
	@ApiModelProperty("当前页数")
	private Integer pageNum;
    /**
     * 排序列
     */
	@ApiModelProperty("排序列")
	private String orderByColumn;
    /**
     * 排序的方向desc或者asc
     */
	@ApiModelProperty(value = "排序的方向", example = "asc,desc")
	private String isAsc;


    /**
     * 采购单id
     */
	@ApiModelProperty("采购单id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long purchaseId;
    /**
     * 采购商品id
     */
	@ApiModelProperty("采购商品id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long skuId;
    /**
     * 采购数量
     */
	@ApiModelProperty("采购数量")
	private Long skuNum;
    /**
     * 采购金额
     */
	@ApiModelProperty("采购金额")
	private BigDecimal skuPrice;
    /**
     * 仓库id
     */
	@ApiModelProperty("仓库id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long wareId;
    /**
     * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
     */
	@ApiModelProperty("状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
	private Long status;

}
